package org.oschina.api.manage.module.dao;

import java.util.List;
import org.oschina.api.BaseDAO;
import org.oschina.api.manage.module.vo.ModuleTypeVo;
import org.springframework.stereotype.Repository;

@Repository
public class ModuleTypeDAO extends BaseDAO {

	private final String findVo[]={"id","name"};
	
	/**
	 * 返回
	 * @return
	 */
	public List<ModuleTypeVo> findVo()
	{
		return getQueryHelper().query_cache(findVo, null,new String[]{"ORDER BY id"}, null, ModuleTypeVo.class, -1, -1);
	}
	
}